package com.heyidlebooks.model;

import java.io.Serializable;

public class City implements Serializable {
	
	private static final long serialVersionUID = 5797859301343048189L;

	private Integer id;
	private String name;
	private City parentCity;
	private Country country;
	/**
	 * @return the id
	 */
	public Integer getId() {
		return id;
	}
	/**
	 * @param id the id to set
	 */
	public void setId(Integer id) {
		this.id = id;
	}
	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}
	/**
	 * @param name the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}
	/**
	 * @return the parentCity
	 */
	public City getParentCity() {
		return parentCity;
	}
	/**
	 * @param parentCity the parentCity to set
	 */
	public void setParentCity(City parentCity) {
		this.parentCity = parentCity;
	}
	/**
	 * @return the country
	 */
	public Country getCountry() {
		return country;
	}
	/**
	 * @param country the country to set
	 */
	public void setCountry(Country country) {
		this.country = country;
	}
	
	
}
